﻿<UserControl x:Class="Save_Editor.Controls.ctrlGeneratorSaveData"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:t="clr-namespace:Save_Editor.Controls"
             mc:Ignorable="d" 
             Height="229" Width="511" MaxHeight="229" MaxWidth="511">
    <UserControl.Resources>
        <t:NullBoolToBool x:Key="nbTob" />
    </UserControl.Resources>
    <Grid>
        <GroupBox Header="Generator Properties" Margin="6,6,6,6">
            <Grid>
                <Label Content="{Binding DisplayName}" Height="28" Margin="6,6,6,0" VerticalAlignment="Top" />
                <TextBox Text="{Binding MaxHealth}" Height="23" Width="30" Margin="106,40,0,0" MaxLength="3" HorizontalAlignment="Left" VerticalAlignment="Top" />
                <Label Content="Health" Height="28" Width="56" Margin="6,40,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" />
                <TextBox Text="{Binding Health}" Height="23" MaxLength="3" Margin="68,40,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" Width="30" />
                <Label Content="Output" Height="28" Margin="6,74,0,0" HorizontalAlignment="Left" Width="56" VerticalAlignment="Top" />
                <TextBox Text="{Binding MaxOutput}" Height="23" Width="30" MaxLength="3" Margin="105,76,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" />
                <Label Content="/" Height="28" Width="16" HorizontalAlignment="Left" Margin="95,38,0,0" VerticalAlignment="Top" />
                <TextBox Height="23" HorizontalAlignment="Left" Margin="68,76,0,0" MaxLength="3" Text="{Binding Output}" VerticalAlignment="Top" Width="30" />
                <Label Content="/" Height="28" HorizontalAlignment="Left" Margin="95,74,0,0" VerticalAlignment="Top" Width="16" />
                <Label Content="Daily Fuel Required" Height="28" HorizontalAlignment="Left" Margin="6,108,0,0" VerticalAlignment="Top" />
                <TextBox Height="23" HorizontalAlignment="Left" Margin="124,110,0,0" VerticalAlignment="Top" Width="30" Text="{Binding DailyFuelRequired}" MaxLength="3" />
                <CheckBox Content="Enabled" Height="16" Margin="6,142,234,0" VerticalAlignment="Top" IsChecked="{Binding Enabled,Converter={StaticResource nbTob}}"/>
                <CheckBox Content="Powered Lights" Height="16" Margin="6,164,234,0" VerticalAlignment="Top" IsChecked="{Binding PoweredLights,Converter={StaticResource nbTob}}"/>
                <Label Content="{Binding Guid}" Height="28" Margin="217,40,6,0" VerticalAlignment="Top" />
                <Label Height="28" Margin="176,40,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" Width="35" Content="Guid" />
            </Grid>
        </GroupBox>
    </Grid>
</UserControl>
